package com.dhcc.bpm.modules.scf.entity.HomePage;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 货品分类统计信息展示实体类
 */
@Data
public class ScfGoodsWeightCount implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 销售明细记录ROW_ID
     */
    private String rowId;
    /**
     * 货品种类（编号）
     */
    private String goodsNum;
    /**
     * 货品总计吨数
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal goodsWeight;
    /**
     * 货品累计碳排放
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal goodsCarbonEmissions;

    /**
     * 货品成交金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal goodsSalesAmount;

    /**
     * 货品吨数百分比
     */
    private String goodsPercentage;

    private String orgCode;

    private String[] orgCodes;
}
